package com.ghck.server.service;
import java.util.List;

import com.ghck.server.model.EaseUser;
import com.ghck.server.model.query.EaseUserQuery;

/**
 * 环信用户  <br>
 * t_ease_user <br>
 * v1.0 2016-05-06
 */
 public interface EaseUserService {
	
	/**
 	*根据ID删除 环信用户
 	*/
 	public Integer deleteEaseUserById(Integer id);
 	
 	/**
 	*新增 环信用户
 	*/
 	public Integer batchInsertEaseUser(List<? extends EaseUser> easeUsers);
 	
 	/**
 	*新增 环信用户
 	*/
 	public Integer insertEaseUser(EaseUser domain);
 
 	
 	/**
 	*更新 环信用户
 	*/
 	public Integer updateEaseUser(EaseUser domain);
 	
 	/**
 	*根据ID查询 环信用户
 	*/
 	public EaseUser findEaseUserById(Integer id);

	/**
 	*通过query 查询 环信用户
 	*/
	public List<EaseUser> findEaseUserByQuery(EaseUserQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countEaseUserByQuery(EaseUserQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<EaseUser> findEaseUserByIds(List<Integer> ids);
 	
}	